<h2>Why is this an issue?</h2>
<p>It is needlessly complex to invert the result of a boolean comparison. The opposite comparison should be made instead.</p>
<h3>Noncompliant code example</h3>
<pre>
if (!(a === 2)) { ... }  // Noncompliant
</pre>
<h3>Compliant solution</h3>
<pre>
if (a !== 2) { ... }
</pre>
